from django.db import models

# Create your models here.


class UserInfo(models.Model):
    name = models.CharField(max_length=32)
    password = models.CharField(max_length=64)
    age = models.IntegerField()


# 部门
class Department(models.Model):
    title = models.CharField(max_length=16)


# 缺陷模块
class Bug(models.Model):
    title = models.CharField(max_length=100)
    status = models.CharField(max_length=100)
    priority = models.CharField(max_length=100)
    creator = models.CharField(max_length=100)
    project = models.CharField(max_length=100)
